{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

{#<img src="/static/icon.jpg" alt="暂无图片" height="100px" width="100px">#}
<img src="{% static 'icon.jpg' %}" alt="暂无图片" height="100px" width="100px">
<form action="" method="post" enctype="multipart/form-data">
    {% csrf_token %}
    <input type="file" name="icon">
    <br>
    昵称:<input type="text" name="nickname">
    <br>
    城市: <select name="province" id="province">
    <option value="0">请选择省份</option>
    <option value="1">河北</option>
    <option value="2">北京</option>
</select>
    <select name="city" id="city">
        <option value="0">请选择城市</option>
        <option value="1">保定</option>
        <option value="2">北京</option>
    </select>
    <select name="district" id="district">
        <option value="0">请选择区县</option>
        <option value="1">莲池区</option>
        <option value="2">北市区</option>
    </select>
    <br>
    性别: <input type="radio" name="sex" value="2"> 保密 &nbsp;&nbsp;
    <input type="radio" name="sex" value="1"> 男 &nbsp;&nbsp;
    <input type="radio" name="sex" value="0"> 女 &nbsp;&nbsp;
    <br>
    个性签名: <textarea name="customsign" id="customsign" cols="30" rows="10">
    写上你的个性签名!!
</textarea>
    <br>
    <input type="submit" value="保存">

</form>
</body>
</html>